package me.zhanshi123.advancedcleaner.event;

import org.bukkit.entity.Item;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;

import java.util.Set;

public class CleanItemEvent extends Event {

    private static final HandlerList handlerList = new HandlerList();

    private final Set<Item> clearItem;

    public CleanItemEvent(final Set<Item> clearItem) {
        this.clearItem = clearItem;
    }

    public Set<Item> getClearItem() {
        return clearItem;
    }

    @Override
    public HandlerList getHandlers() {
        return handlerList;
    }

    public static HandlerList getHandlerList() {
        return handlerList;
    }
}
